package com.woniuxy.dao.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author psy
 * @since 2022-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@TableName("account_info")
public class AccountInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "accountId", type = IdType.AUTO)
    private Integer accountId;

    private String accountName;

    private String accountPassword;

    private Integer accountState;

    private String accountPhone;
    //0表示管理员 1表示商家 2表示顾客
    private Integer accountType;
    

}
